﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KZ.Utilities;

namespace KZ.Express.H.ENT
{
    public class LogENT : BaseENT
    {
        [Output]
        public int LogID { get; set; }

        public DateTime? Date { get; set; }

        public int? UserID { get; set; }

        public string FullName { get; set; }

        public string TableName { get; set; }

        public string TableDescription { get; set; }

        public string Action { get; set; }

        public string Description { get; set; }

        public string OldContent { get; set; }

        public string NewContent { get; set; }

        [NotInsertUpdate]
        public override string Table { get { return "Logs"; } }

        [NotInsertUpdate]
        public override string Name { get { return "log"; } }

        [NotInsertUpdate]
        public override string PrimaryKey { get { return "LogID"; } }

        [NotInsertUpdate]
        public override string SelectProcedure { get { return "proc_Log_Select"; } }
    }
}
